package org.xdemo.example.remoteUI.entity;

import java.util.Random;

/**
 * Created by kz on 2017/8/18.
 */
public class tOneAddress {

    int ind;  //索引号

    public int getInd() {
        return ind;
    }

    public void setInd(int ind) {
        this.ind = ind;
    }

    public String getAddrdesc() {
        return addrdesc;
    }

    public void setAddrdesc(String addrdesc) {
        this.addrdesc = addrdesc;
    }

    public String getValStr() {
        return valStr;
    }

    public void setValStr(String valStr) {
        this.valStr = valStr;
    }

    String addrdesc; //显示的参数名
    String valStr;  //显示的参数值

    public tOneAddress(){
        ind = 0;
        addrdesc ="test1";
        valStr = "" + new Random().nextInt(2000);
    }

    public tOneAddress(int ind){
        this();
        this.ind = ind;
        this.addrdesc += ind;
    }
}
